import { defineStore } from "pinia";

export const useStore = defineStore("main", {
  state: () => {
    return {
      count: 5,
    };
  },
  actions: {
    increment() {
      this.count++;
      console.log(this.count);
    },
  }
});